package com.molihub.entity;

import lombok.*;

/**
 * @ClassName: ArticleKindToShow
 * @Description: 用于在前端渲染的分类目录实体类，包含文章数
 * @author: xw
 * @date 2020/2/2 18:12
 * @Version: 1.0
 **/
@Builder
@Getter
@Setter
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@AllArgsConstructor
public class ArticleKindToShow {

    /**
     * 分类目录
     */
    private ArticleKind kind;
    /**
     * 文章数量
     */
    private Integer count;

    public Integer getArticleKindId() {
        return kind.getArticleKindId();
    }

    public void setArticleKindId(Integer articleKindId) {
        kind.setArticleKindId(articleKindId);
    }

    public String getArticleKindName() {
        return kind.getArticleKindName();
    }

    public void setArticleKindName(String articleKindName) {
        kind.setArticleKindName(articleKindName);
    }

    public Integer getUserId() {
        return kind.getUserId();
    }

    public void setUserId(Integer userId) {
        kind.setUserId(userId);
    }

}
